package org.kfish.framework.bean;

import com.google.gson.Gson;

/**
 * 响应请求的数据对象
 * @author CK
 *
 */
public class Data {

	private Object model;
	
	public Data(Object model){
		this.model = model;
	}
	
	public Object getModel(){
		return model;
	}
	
	@Override
	public String toString() {
		 Gson gson = new Gson();
		return gson.toJson(this);
	}
	
}
